<h1>Details of <%= @student.title %> <%= @student.firstname.capitalize %>
  <%= @student.lastname.capitalize %> <%= link_to "Log out", admin_logout_path %> </h1>

<h2 id="notice" style="margin-left:250px;"><%= notice %></h2>

<div class="fbblueboxlite">
  <div class="fbgreybox"><h2>1. Personal Information</h2></div><br />
  <div style="border:1px;border-style:solid; width:230px; height:300px; float:right; ">
    <b>Image</b>
    <%= @student.image_url %>
  </div>

  <table>
    <tr>
      <td><b>Name:</b>
      </td><td>
      <%= @student.title %>
    </td><td>
      <%= @student.firstname %>
    </td><td>
      <%= @student.lastname %>
    </td><td>
      <b>Status:</b>
      <%= @student.status %>
    </td>
    </tr>
    <tr>
      <td><b>ชื่อ:</b></td><td>
      <%= @student.title_th %>
    </td>
      <td>
        <%= @student.firstname_th %>
      </td>
      <td>
        <%= @student.lastname_th %>
      </td>
      <td>
      </td>
    </tr>
  </table>
  <div>
    <b>Student ID:</b>
    <%= @student.student_id %>
  </div>
  <b>Sex</b>
  <%= @student.sex %><br />

  <b>Date of Birth:</b>
  <%= @student.dob %><br />

  <b>ID Card Number:</b>
  <%= @student.id_card_no %><br />

  <b>Telephone Number:</b>
  <%= @student.phone_number %><br />

  <b>E-mail:</b>
  <%= @student.email %><br />

  <b>Religion:</b>
  <%= @student.religion %><br />

  <b>Race:</b>
  <%= @student.race %><br />

  <b>Nationality:</b>
  <%= @student.nationality %> <br />

  <b>GPA:</b>
  <%= @student.gpa %><br />

  <b>Advisor:</b>
  <%= @student.advisor %><br />

  <b>Military Service:</b>
  <%= @student.military_service %><br />

  <b>Permanent Address:</b>
  <%= @student.permanent_address %><br />

  <b>Present Address:</b>
  <%= @student.present_address %><br />

</div>
<br />
<div class="fbblueboxlite">
  <div class="fbgreybox"><h2>2. Parents Information</h2></div>
  <div>
    <b>Father Name:</b>
    <%= @student.father_name %>
  </div>

  <div>
    <b>Mother Name:</b>
    <%= @student.mother_name %>
  </div>

  <div>
    <b>Parent Address:</b>
    <%= @student.parent_address %>
  </div>
</div>
<br />

<div class="fbblueboxlite">
  <div class="fbgreybox"><h2>3. Emergency Contact Information</h2></div>
  <div>
    <b>Name:</b>
    <%= @student.emergency_contact_name %>
  </div>

  <div>
    <b>Relationship:</b>
    <%= @student.emergency_contact_relationship %>
  </div>

  <div>
    <b>Telephone Number:</b>
    <%= @student.emergency_phone %>
  </div>

  <div>
    <b>E-mail:</b>
    <%= @student.emergency_email %>
  </div>
</div>
<br />

<div class="fbblueboxlite">
  <div class="fbgreybox"><h2>4. Language Proficiency</h2></div>
  <div>
    <b>Listening:</b>
    <%= @student.language_english_listening %>
  </div>

  <div>
    <b>Speaking:</b>
    <%= @student.language_english_speaking %>
  </div>

  <div>
    <b>Reading:</b>
    <%= @student.language_english_reading %>
  </div>

  <div>
    <b>Writhing:</b>
    <%= @student.language_english_writing %>
  </div>
</div>
<br />

<div class="fbblueboxlite">
  <div class="fbgreybox"><h2>5. Senior Project Information</h2></div>
  <div>
    <b>Senior Project Topic:</b>
    <%= @student.senior_project_topic %>
  </div>

  <div>
    <b>Senior Project Overview:</b>
    <%= @student.senior_project_overview %>
  </div>
</div>
<br />

<div class="fbblueboxlite">
  <div class="fbgreybox"><h2>6. Computer Language Information</h2></div>
  <div>
    <b>Computer Language:</b>
    <%= @student.computer_language %>
  </div>
</div>
<br />

<div class="fbblueboxlite">
  <div class="fbgreybox"><h2>7. Other Information</h2></div>
  <div>
    <b>Other Skills:</b>
    <%= @student.other_skills %>
  </div>
</div>
<br />

<div class="fbgreyboxbuttom">
  <%= link_to 'Edit', edit_student_path(@student) %> |
  <%= link_to 'Back', students_path %>
</div>